<?php

// $Id$

class TCMS_VPage_Category extends Tangra_Class {
	private $id;
	private $vpage;
	private $category;
	private $ordering = 0;

	public function set_id($id) {
		tangra_if_not_int_throw_e($id);

		$this->id = $id;
	}


	public function get_id() {
		return $this->id;
	}


	public function set_vpage($vpage) {
		tangra_if_not_int_throw_e($vpage);

		$this->vpage = $vpage;
	}


	public function get_vpage() {
		return $this->vpage;
	}


	public function set_category($category) {
		tangra_if_not_int_throw_e($category);

		$this->category = $category;
	}


	public function get_category() {
		return $this->category;
	}


	public function set_ordering($ordering) {
		tangra_if_not_int_throw_e($ordering);

		$this->ordering = $ordering;
	}


	public function get_ordering() {
		return $this->ordering;
	}
}